﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SachVietDLL.BLL
{
    class SoterByName:SorterBy
    {
        protected override bool Compare(BookDetail bookDetail1, BookDetail bookDetail2)
        {
            int result = String.Compare(bookDetail1.book_Title, bookDetail2.book_Title);
            if (result > 0)
                return true;
            return false;
        }
    }
}
